package com.lwj.liwanjia.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/11/1.
 */

public class RightBean {

    /**
     * state : 1
     * message : null
     * data : [{"commodityCode":"8","commodityName":"男上T恤2","commodityInfo":"男上夏季服饰 精品服装","imageUrl":"http://101.132.69.99/images/1.jpg","commodityVipPrice":"45","stock":21,"grade":null,"address":"浙江;温州","distance":null,"commodityType":"商城"},{"commodityCode":"1","commodityName":"男上T恤","commodityInfo":"男上夏季服饰 精品服装","imageUrl":"http://101.132.69.99/images/1.jpg","commodityVipPrice":"50","stock":1000,"grade":null,"address":"浙江;温州","distance":null,"commodityType":"商城"},{"commodityCode":"9","commodityName":"男上T恤3","commodityInfo":"男上夏季服饰 精品服装","imageUrl":"http://101.132.69.99/images/1.jpg","commodityVipPrice":"55","stock":24,"grade":null,"address":null,"distance":null,"commodityType":"商城"}]
     */

    private int state;
    private Object message;
    private List<DataBean> data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * commodityCode : 8
         * commodityName : 男上T恤2
         * commodityInfo : 男上夏季服饰 精品服装
         * imageUrl : http://101.132.69.99/images/1.jpg
         * commodityVipPrice : 45
         * stock : 21
         * grade : null
         * address : 浙江;温州
         * distance : null
         * commodityType : 商城
         */

        private String commodityCode;
        private String commodityName;
        private String commodityInfo;
        private String imageUrl;
        private String commodityVipPrice;
        private int stock;
        private double grade;
        private String address;
        private double distance;
        private String commodityType;

        public String getCommodityCode() {
            return commodityCode;
        }

        public void setCommodityCode(String commodityCode) {
            this.commodityCode = commodityCode;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public String getCommodityInfo() {
            return commodityInfo;
        }

        public void setCommodityInfo(String commodityInfo) {
            this.commodityInfo = commodityInfo;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getCommodityVipPrice() {
            return commodityVipPrice;
        }

        public void setCommodityVipPrice(String commodityVipPrice) {
            this.commodityVipPrice = commodityVipPrice;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public double getGrade() {
            return grade;
        }

        public void setGrade(double grade) {
            this.grade = grade;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public double getDistance() {
            return distance;
        }

        public void setDistance(double distance) {
            this.distance = distance;
        }

        public String getCommodityType() {
            return commodityType;
        }

        public void setCommodityType(String commodityType) {
            this.commodityType = commodityType;
        }
    }
}
